
<?php //use_stylesheet('http://www.indiacollegesearch.com/css/normalize.css') ?> 
<?php use_stylesheet('itemAviso.css') ?> 
<?php //use_javascript('http://www.google-analytics.com/ga.js') ?>
<?php //use_javascript('https://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.js') ?>
<?php //use_javascript('http://www.indiacollegesearch.com/js/jquery.autocomplete.js') ?>
<?php //use_javascript('javascript.js') ?>
<?php use_helper('jQuery') ?>
<?php //use_javascript('http://www.indiacollegesearch.com/js/jquery-ui-1.8.17.custom.min.js') ?>
<?php //use_stylesheet('http://www.indiacollegesearch.com/css/custom-theme2/jquery-ui-1.8.17.custom.css') ?> 
<?php //use_stylesheet('http://www.indiacollegesearch.com/css/jquery.autocomplete.css') ?> 
<?php //use_stylesheet('http://fonts.googleapis.com/css?family=Droid+Sans:400,700') ?> 
<?php use_stylesheet('tipTip.css') ?> 
<?php //use_stylesheet('http://cdn.webrupee.com/font') ?> 
<?php //use_stylesheet('jquery.fancybox-1.3.1.css') ?>
<?php use_javascript('jquery.tipTip.js') ?>
<?php //use_javascript('http://www.indiacollegesearch.com/js/jquery.alphanumeric.pack.js') ?>
<?php //use_javascript('http://www.indiacollegesearch.com/js/flexcroll.js') ?>
<?php //use_javascript('http://www.indiacollegesearch.com/js/fancybox/jquery.mousewheel-3.0.2.pack.js') ?>
<?php //use_javascript('jquery.fancybox-1.3.1.js') ?>






<?php $profileLink = "/frontend_dev.php/search/detalleInstitucion?id=".$institucion->getId()."&tipo=".$institucion->getType();?>
<div class="collegeWrapper relative"> 
    <!--add to shortlist-->
    <div id="add_to_shrtlst1028" class=" addTo">
        <a id="add_to_shrtlst_anchor1028" class="student_login" href="#studentLoginBox" onclick="return add_toshortlist_signin(1028,1);">
            <img src="/images/search/add_to_shrtlst.png">
        </a>
        <span id="add_to_shrtlst_span1028" class="add_to_shrtlst_span"></span>
    </div>
    <!--/add to shortlist-->
    <div class="marginBottom7">
        <h2>
            <a style="text-decoration:underline;" href="<?php echo $profileLink?>" target="_blank" onclick="return go_to_college_profile('middle_results_form', <?php echo $institucion->getId()?>,'<?php echo $institucion->getNombre()?>');"><?php echo $institucion->getNombre()?></a>
        </h2>
    </div>
    <!-- college details-->
    <div class="clearfix marginBottom7">
        <a href="<?php echo $profileLink?>" target="_blank" onclick="return go_to_college_profile('middle_results_form', <?php echo $institucion->getId()?>,'<?php echo $institucion->getNombre()?>');" class="floatLeft marginRight7">
            <img class="logo" src="<?php echo $institucion->getLogoPath()?>" width="120" height="120" alt="<?php echo $institucion->getNombre()?>" title="<?php echo $institucion->getNombre()?>">
        </a> 
        <!--college description-->
        <div class="floatLeft marginRight7 collInfo">
            <ul>
            <?php foreach ($institucion->getFacultades() as $facultad): ?>
                <?php foreach ($facultad->getCarreras() as $carrera): ?>
                    <li>
                        <p style="color:#323232;" class="course_details">
                            <span class="bold">
                                <a href="<?php echo "/frontend_dev.php/search/detalleCarrera?id=".$carrera->getId()?>" target="_blank">
                                    <?php echo $carrera->getNombre()?>
                                   </a>
                            </span> (<?php echo $carrera->getTiempo()?> Años/ 
                            
                            <?php echo ProcessList::getListaConComa($carrera->getModalidades()) ?>
                            / <?php echo $carrera->getHorasSemanales()?> h/sem)
                        </p>
                    </li>
                <?php endforeach; ?>
            <?php endforeach; ?>
            </ul>
            <p class="course_details">
                <img style="padding-right: 4px; vertical-align:middle;" title="" alt="" src="/images/search/coll_criteria.png"/> 
                Admission Criteria 
                <span class="bold" style="color:#686868;">IIT JEE</span>.
            </p>
            <!--
            <p>
                <span class="WebRupee  " style="padding:0 5px; vertical-align:middle;">Rs.</span>
                <span class="bold" style="color:#323232; font-size:13px;"> 54,000 </span>/- (annual fees)
            </p>                              -->
            <table border="0" cellspacing="4" cellpadding="0">
                <tbody>
                    <tr>
                        <?php foreach ($institucion->getServicios() as $servicio): ?>
                            <td width="38">
                                <img alt="<?php echo $servicio->getNombre()?>" 
                                     src="<?php echo $servicio->getImagenPath()?>"
                                     width="<?php echo $servicio->getAncho()?>" height="<?php echo $servicio->getAlto()?>" 
                                     class="image_tooltip"/>
                            </td>
                        <?php endforeach; ?>                        
                    </tr>
                </tbody>
            </table>
        </div>
        <!-- /college description--> 
        <!-- college views-->
        <div class="floatLeft  clearfix">
            <div class="collegeViews"> 
                <ul>
                    <?php foreach ($institucion->getSecciones() as $seccion): ?>
                        <li>
                            <?php if ($seccion->getDisponible()): ?>
                                <a href="<?php echo $seccion->getLink()?>" 
                                    target="_blank" 
                                    onclick="return go_to_college_profile_placement('middle_results_form', <?php echo $institucion->getId()?>,'<?php echo $institucion->getNombre()?>','engineering','placement');">
                            <?php endif; ?>
                            
                                <img class="icon_tooltip" alt="<?php echo $seccion->getNombre()?>"
                                     <?php if ($seccion->getDisponible()): ?>
                                        src="<?php echo $seccion->getImagenDisponible()?>"
                                     <?php else: ?>
                                        src="<?php echo $seccion->getImagenInDisponible()?>"
                                     <?php endif; ?>
                                     width="<?php echo $seccion->getAncho()?>" height="<?php echo $seccion->getAlto()?>"/>
                            <?php if ($seccion->getDisponible()): ?>
                                </a>
                            <?php endif; ?>
                        </li>
                    <?php endforeach; ?>
                </ul>
            </div>
            <div class="counter" >
                <p class="bold rightAlign number"><?php echo $institucion->getVisitas()?></p>
                <p class="rightAlign bold">Visitas</p>
                
                <div class="fb-like" style="width: 110px;" data-href="<?php echo $profileLink?>" data-send="false" data-layout="button_count" data-width="450" data-show-faces="true"></div>
              
            </div>
        </div>
        <!--/ college views--> 
    </div>
    <!--/ college details-->
    <p class="marginBottom7 bold">
        <img style="padding-right: 4px; vertical-align:middle;" title="" alt="" src="/images/search/coll_location.png"/>
        <?php foreach ($institucion->getSedes() as $sede): ?>
            <?php echo $sede->getNombre(); ?>:<?php echo $sede->getPais(); ?>,<?php echo $sede->getProvincia(); ?> <?php echo $sede->getLocalidad(); ?>
        <?php endforeach; ?>
        <span class="bold" style="color:#686868;"></span> 
        <a style="cursor:pointer;" class="floatRight" onclick="show_more_details(<?php echo $institucion->getId()?>,959);" id="moreDetails<?php echo $institucion->getId()?>">
            Mas Detalles 
            <img alt="" width="10" height="10" src="/images/search/coll_sideNav_drop3.png" style="padding-left: 2px;  vertical-align: middle;"/>
        </a> 
        <a style="cursor:pointer; display:none;" class="floatRight" id="lessDetails<?php echo $institucion->getId()?>">
            Menos Detalles 
            <img width="10" height="10" src="/images/search/coll_sideNav_drop3.png" style="padding-left: 2px;  vertical-align: middle;"/>
        </a>
    </p>
    <script type="text/javascript">
        $(document).ready(function(){	
            $('#hiddenCollegeDetails<?php echo $institucion->getId()?>').hide();
            $('#moreDetails<?php echo $institucion->getId()?>').click(function (){ 				
                $('#hiddenCollegeDetails<?php echo $institucion->getId()?>').slideToggle('slow');
                $('#moreDetails<?php echo $institucion->getId()?>').hide();
                $('#lessDetails<?php echo $institucion->getId()?>').show();
            });
            $('#lessDetails<?php echo $institucion->getId()?>').click(function (){ 				
                $('#hiddenCollegeDetails<?php echo $institucion->getId()?>').slideToggle('slow');
                $('#moreDetails<?php echo $institucion->getId()?>').show();
                $('#lessDetails<?php echo $institucion->getId()?>').hide();
            });
        });

    </script>
    <div id="hiddenCollegeDetails<?php echo $institucion->getId()?>" style="display: none; ">
        <div class="marginBottom7 clearfix"> 
            <!--google map-->

            <div class="floatLeft mapDetail">
                <a href="<?php echo $profileLink?>" target="_blank" onclick="return go_to_college_profile('middle_results_form', <?php echo $institucion->getId()?>,'<?php echo $institucion->getNombre()?>');">
                    <img src="/images/search/mapejemplo.jpg" width="220" height="90"/>
                </a>
            </div>
            <!--/google map--> 
            <!--Admission Procedure-->
            <div class="floatLeft addDetail2">
                <p>
                    <span class="bold">Descripción:<BR/></span> 
                    <?php echo $institucion->getDescripcion()?>
                </p>
            </div>
            
            <!--Eligibility Criteria--> 
        </div>
        <div class="marginBottom7 clearfix"> 
            <!-- Faculty Details-->
            <div class="floatLeft facultyDetails" style="min-width:420px;">                                  
                <p> 
                    <span class="bold"> Servicios: </span>
                    <?php echo ProcessList::getListaObjetoConComa($institucion->getServicios()) ?>
                    
                </p> 
                <p> 
                    <span class="bold">Niveles: </span>
                    <?php echo ProcessList::getListaConComa($institucion->getNiveles()) ?>
                    
                </p> 
                              
            </div>
            <!-- Faculty Details--> 
            <!-- Establishment Details-->
            <div class="floatLeft addDetail">
                <p class="marginBottom7">
                    <span class="bold">Idiomas:</span> 
                    <?php echo ProcessList::getListaConComa($institucion->getIdiomas()) ?>
                </p>                  
               

            </div>
            <!--/ Establishment Details--> 
        </div>
        <!--/ Reservations--> 
        <div id="reservation_1028"></div>
        <!--/ Reservations--> 
    </div>
</div>



